 const {
   USER_TYPE,
   APPROVE_CUSTOMER_WORD_ORDER
 } = require('../constant/index')
 export const menuMapClient = [{
     image: "fast-repair.svg",
     title: "快速报修",
     key: "repair",
     type: "both",
     background: '#EE8E45',
   },
   {
     image: "order-progress.svg",
     title: "进度查询",
     route: "order-page",
     background: '#0079AA',
   },
   {
     image: "order-history.svg",
     title: "报修历史",
     route: "order-history",
     background: '#5d92de',
   },
   {
     image: "order-approve.svg",
     title: "报修审核",
     limit: [USER_TYPE.CUSTOMER_MANAGER, APPROVE_CUSTOMER_WORD_ORDER.on],
     route: "approve-page",
     background: '#83c2f5',
   }
   ,
   {
     image: "device-manager.svg",
     title: "我的设备",
     route: "my-device",
     background: '#6ba896',
   }
 ]

 export const menuMapRepair = [{
     image: "scan-repair.svg",
     title: "扫码报修",
     key: "repair",
     repeated: true,
     background: '#a98cdb',
   }, {
     image: "fast-repair.svg",
     title: "无码报修",
     key: "repair",
     route: "repair-page",
     repeated: true,
     background: '#EE8E45',
   }, {
     image: "agency.svg",
     title: "待办任务",
     route: "agency-page",
     background: '#0079AA',
   },
   {
     image: "supplyment-approve.svg",
     title: "补录审批",
     route: "approve-page",
     approvalSupplementaryWorkOrder: 1,
     background: '#6ba896',
   },
   {
     image: "my-order.svg",
     title: "我的工单",
     route: "my-order",
     background: '#83c2f5'
   },
   {
     image: "device-manager.svg",
     title: "设备管理",
     route: 'device-manager',
     background: '#eeb579'
   },
   {
     image: "xunjian.svg",
     title: "巡检管理",
     route: 'inspection-page',
     background: '#5d92de',
   },
   {
     image: "supplementary-record.svg",
     title: "补录工单",
     repeated: true,
     route: 'supplementary-recording',
     background: '#6fbff7',
   },
   {
     image: "knowledge.svg",
     title: "知识库",
     route: 'know-ledge',
     background: '#cd81d7',
   }
 ]